package com.wikidot.designpatterns.composite.alternative1;

public class Leaf implements Component {

	protected String name;

	public Leaf(String name) {
		this.name = name;
	}

	@Override
	public void businessOperation() {
		System.out.println(this.name
				+ " performing business operation for leaf node.");
	}

}
